package com.sunyard.dal.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class Staff extends StaffKey implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 8655433981474054661L;
    /**
     * 用户类型：1-商户用户 2-门店用户 3-店员 4-代理商用户
     */
    public static final Integer USER_TYPE_MCHNT = 1;
    public static final Integer USER_TYPE_SHOP = 2;
    public static final Integer USER_TYPE_ASSISTANT = 3;
    public static final Integer USER_TYPE_OWNER = 4;

    private String staffId;

    private String loginId;

    private String loginName;

    private String shopId;

    private String shopCnAbbr;

    private String staffName;

    private String userName;

    private String mobileNo;

    private String idcard;

    private String address;

    private String status;

    private Integer userType;

    private String loginPwd;

    private Integer pwdErrorNum;

    private String createDatetime;

    private String updateDatetime;

    private String updatePwdDatetime;

    private String bak1;

    private String bak2;

    private String mchntCd;

    private String pwdErrorTime;

    private String wechatOpenId;

    private String hujinSyn;

    private String hujinDeviceId;

}
